projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90dd782
)
(ange-ftp-wipe-file-entries): Fix type mismatch;
author
David Kastrup
<dak@gnu.org>
Wed, 14 Aug 2002 22:43:46 +0000
(22:43 +0000)
committer
David Kastrup
<dak@gnu.org>
Wed, 14 Aug 2002 22:43:46 +0000
(22:43 +0000)
use `hash-table-size' instead of `length'.
lisp/net/ange-ftp.el
patch
|
blob
|
history
diff --git
a/lisp/net/ange-ftp.el
b/lisp/net/ange-ftp.el
index 35447f19569171f812b3d332dd4438df6fb77c16..bd9a432af7d1dfaf57fae1af15714a5e278c5170 100644
(file)
--- a/
lisp/net/ange-ftp.el
+++ b/
lisp/net/ange-ftp.el
@@
-2968,7
+2968,8
@@
this also returns nil."
(defun ange-ftp-wipe-file-entries (host user)
"Get rid of entry for HOST, USER pair from file entry information hashtable."
(let ((new-tbl (make-hash-table :test 'equal
- :size (length ange-ftp-files-hashtable))))
+ :size (hash-table-size
+ ange-ftp-files-hashtable))))
(maphash
(lambda (key val)
(let ((parsed (ange-ftp-ftp-name key)))